package com.xzl.org.learning_situation_analysis.service.Impl;

import com.xzl.org.learning_situation_analysis.dao.QuestionKnowledgePointsRelationMapper;
import com.xzl.org.learning_situation_analysis.entity.QuestionKnowledgePointsRelation;
import com.xzl.org.learning_situation_analysis.service.QuestionKnowledgePointsRelationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author 夏智力
 * @FileName QuestionKnowledgePointsRelationServiceImpl
 * @date 2022/4/21 11:19
 * @Software: IntelliJ IDEA
 */
@Service
public class QuestionKnowledgePointsRelationServiceImpl implements QuestionKnowledgePointsRelationService {

    @Autowired
    private QuestionKnowledgePointsRelationMapper questionKnowledgePointsRelationMapper;

    @Override
    public int insertRelation(QuestionKnowledgePointsRelation questionKnowledgePointsRelation) {
        return questionKnowledgePointsRelationMapper.insertRelation(questionKnowledgePointsRelation);
    }
}
